Add docusaurus-plugin-copy-page-button#86
Open
portdeveloper wants to merge 1 commit intoStreamElements:masterfrom
Open
Add docusaurus-plugin-copy-page-button#86portdeveloper wants to merge 1 commit intoStreamElements:masterfrom
portdeveloper wants to merge 1 commit intoStreamElements:masterfrom
Conversation
Adds a 'Copy page' button to the docs sidebar that exports the page as clean markdown for use with ChatGPT, Claude, and Gemini.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this adds
A "Copy page" button in the docs sidebar that exports the current StreamElements docs page as clean markdown, with one-click "Open in ChatGPT", "Open in Claude", and "Open in Gemini" actions.
Why for StreamElements
A huge fraction of StreamElements users are streamers wiring up custom commands, chatbot variables, and overlay logic. Most of them are not full-time developers, so they lean heavily on AI assistants to translate "I want a !so command that pulls the last game played from Twitch API" into actual chatbot syntax. A one-click "open this docs page in ChatGPT" handoff would shorten that loop a lot.
The plugin auto-injects into the table-of-contents sidebar, no further config needed.
Production users
The plugin is currently shipping on Ethereum execution-apis, Sui (Mysten Labs), Walrus, Seal, SuiNS, Monad, Flare, Kaia, Nillion, Chronicle, Cardano, Kurtosis, and Dagger docs. ~10k npm installs/month.
Changes
docusaurus-plugin-copy-page-buttontodependenciespluginsarray indocusaurus.config.ts(it was an empty array)Links
Happy to revert or adjust if this doesn't fit the project's direction.